#include "Ray.h"
#include "Intersections.h"
#include "Triangle.h"
#include <float.h>

Ray::Ray(const Vector& v, const SPoint& p) :
	vec(~v), invVec(1 / vec.x, 1 / vec.y, 1 / vec.z), pos(p), hitDistance(MAXFLOAT), hitTriangle(0)
{
}

Ray::~Ray()
{
}

